package com.jic.order.model.domain;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ParentOrderGoodsModel implements Serializable {

    //主键ID
    private long id;
    //订单父编号
    private String parentOrderNo;
    //商品id
    private long goodsId;
    //商品名称
    private String goodsName;
    //商品图片地址，用于用户订单列表展示
    private String goodsImgUrl;
    //商品类型，无仓、普通
    private Integer goodsType;
    //商品数量
    private Integer goodsNum;
    //销售单价，对应销售总金额
    private BigDecimal saleUnitPrice;
    //优惠单价，对应优惠总金额
    private BigDecimal discountUnitPrice;
    //购买单价，对应购买总金额
    private BigDecimal buyUnitPrice;
    //备注
    private String mark;
    //版本号
    private long version;

}
